//
//  ViewController.m
//  ConvertDicToModel
//
//  Created by 范伟 on 16/3/15.
//  Copyright © 2016年 FanWei. All rights reserved.
//

#import "ViewController.h"
#import "Person.h"
#import "Book.h"
#import <objc/runtime.h>

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    NSLog(@"%@", [Book fw_getClassProperties]);
    Book *book = [Book fw_objWithDict:@{@"bookName": @"ding ding dang",@"author": @{@"name": @"XXX"}}];
    NSLog(@"%@", book);
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    [Person fw_getClassProperties];
}
@end
